﻿using MySpiderMgr.Infrastructure.BaseEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using System.Transactions;

namespace MySpiderMgr.Data
{
    public interface IUnitOfWork : IDisposable
    {
        /// <summary>
        /// 开始事务
        /// </summary>
        /// <returns></returns>
        void BeginTran();
        /// <summary>
        /// 提交
        /// </summary>
        void Commit();
    }
}
